/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 3/17/2012 
           
            */


using System;
using System.Collections.Generic;
using System.Text;


namespace BusinessObject
{
    /// <summary>
    /// This is PhieuThu object, it is object of BusinessObject table.
    /// </summary>
    public class PhieuThu
    {
        #region fields
        private Int64 maPhieuThu;
        private Int64 maPhieuBanHang;
        private string nguoiThu;
        private DateTime ngayThu;
        private double thanhTien;
        private string curencyCode;
        private string notes;
        private string createdBy;
        private DateTime createdDate;
        private string lastUpdatedBy;
        private DateTime lastUpdatedDate;
        private Paging objPaging;

        private SortOrder objSortOrder;

        private string condition;

        private int toltalRow;


        #endregion fields

        #region constructor
        /// <summary>
        /// Define default constructor for PhieuThu Object
        /// </summary>
        public PhieuThu()
        {
            this.maPhieuThu = int.MinValue;
            this.maPhieuBanHang = Int64.MinValue;
            this.nguoiThu = string.Empty;
            this.ngayThu = DateTime.MinValue;
            this.thanhTien = double.MinValue;
            this.curencyCode = string.Empty;
            this.notes = string.Empty;
            this.createdBy = string.Empty;
            this.createdDate = DateTime.MinValue;
            this.lastUpdatedBy = string.Empty;
            this.lastUpdatedDate = DateTime.MinValue; this.objPaging = new Paging();
            this.objSortOrder = new SortOrder();
            this.condition = string.Empty;
            this.toltalRow = 0;

        }
        #endregion constructor
        #region properties
        /// <summary>
        /// Define MaPhieuThu Property
        /// </summary>
        public Int64 MaPhieuThu
        {
            get { return this.maPhieuThu; }
            set { this.maPhieuThu = value; }
        }
        /// <summary>
        /// Define MaPhieuBanHang Property
        /// </summary>
        public Int64 MaPhieuBanHang
        {
            get { return this.maPhieuBanHang; }
            set { this.maPhieuBanHang = value; }
        }
        /// <summary>
        /// Define NguoiThu Property
        /// </summary>
        public string NguoiThu
        {
            get { return this.nguoiThu; }
            set { this.nguoiThu = value; }
        }
        /// <summary>
        /// Define NgayThu Property
        /// </summary>
        public DateTime NgayThu
        {
            get { return this.ngayThu; }
            set { this.ngayThu = value; }
        }
        /// <summary>
        /// Define ThanhTien Property
        /// </summary>
        public double ThanhTien
        {
            get { return this.thanhTien; }
            set { this.thanhTien = value; }
        }
        /// <summary>
        /// Define CurencyCode Property
        /// </summary>
        public string CurencyCode
        {
            get { return this.curencyCode; }
            set { this.curencyCode = value; }
        }
        /// <summary>
        /// Define Notes Property
        /// </summary>
        public string Notes
        {
            get { return this.notes; }
            set { this.notes = value; }
        }
        /// <summary>
        /// Define CreatedBy Property
        /// </summary>
        public string CreatedBy
        {
            get { return this.createdBy; }
            set { this.createdBy = value; }
        }
        /// <summary>
        /// Define CreatedDate Property
        /// </summary>
        public DateTime CreatedDate
        {
            get { return this.createdDate; }
            set { this.createdDate = value; }
        }
        /// <summary>
        /// Define LastUpdatedBy Property
        /// </summary>
        public string LastUpdatedBy
        {
            get { return this.lastUpdatedBy; }
            set { this.lastUpdatedBy = value; }
        }
        /// <summary>
        /// Define LastUpdatedDate Property
        /// </summary>
        public DateTime LastUpdatedDate
        {
            get { return this.lastUpdatedDate; }
            set { this.lastUpdatedDate = value; }
        }
        public Paging ObjectPaging
        {
            get { return this.objPaging; }
            set { this.objPaging = value; }
        }
        public SortOrder ObjectSortOrder
        {
            get { return this.objSortOrder; }
            set { this.objSortOrder = value; }
        }
        public string Condition
        {
            get { return this.condition; }
            set { this.condition = value; }
        }
        public int ToltalRow
        {
            get { return this.toltalRow; }
            set { this.toltalRow = value; }
        }

        #endregion properties
    }
}